package com.think.archive.mapper;

import com.think.archive.model.SysFunc;
import com.think.archive.model.SysRoleFuncExample;
import com.think.archive.model.SysRoleFuncKey;

import java.util.HashMap;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SysRoleFuncMapper {
    long countByExample(SysRoleFuncExample example);

    int deleteByExample(SysRoleFuncExample example);

    int deleteByPrimaryKey(SysRoleFuncKey key);

    int insert(SysRoleFuncKey record);

    int insertSelective(SysRoleFuncKey record);

    List<SysRoleFuncKey> selectByExample(SysRoleFuncExample example);

    int updateByExampleSelective(@Param("record") SysRoleFuncKey record, @Param("example") SysRoleFuncExample example);

    int updateByExample(@Param("record") SysRoleFuncKey record, @Param("example") SysRoleFuncExample example);

    List<SysFunc> roleFunc(String roleCode);
}